package com.xusheng.cli.req;

import cn.hutool.core.date.DatePattern;
import com.xusheng.cli.common.base.BaseRequest;
import com.xusheng.cli.entity.rechargeModule.Recharge;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author lyh
 * @since 2023-05-06 13:25
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class RechargeQueryReq extends BaseRequest<Recharge> {

    /**
     * 用户账号
     */
    private String playerAccount;
    /**
     * 开始时间
     */
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private LocalDate startTime;
    /**
     * 结束时间
     */
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private LocalDate endTime;

}
